#pragma once
#include "singleton.h"
using namespace fly::jld::jack::dp;

class time_stamp
	:protected singleton<time_stamp>
{
	friend class singleton<time_stamp>;
private:
	const ptime epoch_time_;
	time_stamp();
	~time_stamp(){}
public:
	const __int64 cur_mill_sec() const;
	const __int64 cur_micr_sec() const;
};

#define timestamp singleton<time_stamp>::instance()